<script>
    import ysCatesMenu from '@/components/base/menu/ys-cates-menu.vue';
    export default {
        name: "ys-menu",
        components:{
            ysCatesMenu
        },         
        props: {
            
        },
        data() {
            return {
                catesList : [
                    {"icon" : "../../static/images/icons/feedback.png", "text" : "意见反馈", "url" : ""},
                    {"icon" : "../../static/images/icons/setting.png", "text" : "设置", "url" : "/pages/setting/setting"},
                    {"icon" : "../../static/images/icons/contact.png", "text" : "联系我们", "url" : ""}
                ]                
            }
        },
        methods: {
            /*
             * 弹转
             */
            goto(index) {
                console.log("nihao");
                console.log(index);
            }
        }
    }      
</script>
<template>
    <ys-cates-menu :list="catesList" num=3 row=1></ys-cates-menu>
</template>
<style lang="scss">
    .menu {
        background-color: #ffffff;        
    }
</style>